.album {
  &.row {
    li {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 80px;
      padding: 0 30px;

      &:nth-child(even) {
        background-color: #f9f9f9;
      }

      &:nth-child(odd) {
        background-color: #fff;
      }

      &:hover {
        background-color: #f0f1f2;
      }

      .content {
        position: relative;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;

        &::before {
          position: absolute;
          top: 0;
          left: 0;
          width: 74px;
          height: 60px;
          background: url('~@common/images/icon-album-col.png') center right /
            contain no-repeat;
          content: '';
        }

        img {
          width: 60px;
          height: 60px;
        }

        p {
          padding-left: 30px;
        }
      }
    }
  }

  &.col {
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px 30px;

    li {
      margin-top: 18px;
      margin-right: 20px;

      .content {
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 100%;
        border: 1px solid #f3f3f3;
        border-radius: 4px;

        &::before {
          position: absolute;
          top: 0;
          right: -30px;
          width: 30px;
          height: 100%;
          background: url('~@common/images/icon-album-row.png') center right /
            100% 100% no-repeat;
          content: '';
        }
      }

      img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }

      .artist {
        display: -webkit-box;
        margin-top: 10px;
        overflow: hidden;
        line-height: 1.2;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
      }

      &.itemMin {
        @media screen and (max-width: 1100px) {
          width: calc((100% - 140px) / 4);

          &:not(:nth-child(4n - 4)) {
            margin-right: 40px;
          }
        }
        @media screen and (min-width: 1100px) {
          width: calc((100% - 180px) / 5);

          &:not(:nth-child(5n - 5)) {
            margin-right: 40px;
          }
        }
      }

      &.itemMax {
        @media screen and (max-width: 1100px) {
          width: calc((100% - 180px) / 5);

          &:not(:nth-child(5n - 5)) {
            margin-right: 40px;
          }
        }
        @media screen and (min-width: 1100px) {
          width: calc((100% - 220px) / 6);

          &:not(:nth-child(6n - 6)) {
            margin-right: 40px;
          }
        }
      }
    }
  }
}
